package com.cloud.cmt.usermanage.service;

import com.cloud.cmt.usermanage.dict.entity.Dictionary;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * User: wcy
 * Date: 2017/10/26
 * Time: 14:40
 */
public interface DictionaryRepository extends PagingAndSortingRepository<Dictionary, Long> {
    List<Dictionary> findByParentCode(String parentCode);
}
